package com.xxx.bean;

import com.xxx.service.MyService;
import com.xxx.service.impl.MyServiceImpl;
import org.springframework.context.annotation.Bean;

/**
 * Created By ShaoXikai on 2022/7/19
 */
public class BeanConfig {

    @Bean
    public MyService getBean() {
        return new MyServiceImpl();
    }

}
